import numpy as np
from matplotlib import pyplot as plt, axes, font_manager


# # 打开一个文件
# if __name__ == "__main__":
x = np.array([1, 2, 3, 4, 5, 6, 7, 8])
y = np.array([1, 4, 9, 16, 7, 11, 23, 8])
color = ['pink', 'pink', 'tan', 'tan', 'red', 'red', '#00DDDA', '#00DDDA']
sizes = np.array([20, 50, 100, 200, 500, 1000, 60, 90])
plt.scatter(x, y, c=color, s=sizes)
# plt.show()
plt.savefig("C:\\Users\\wj\\Desktop\\test.png", dpi=300)
print(12)
# import numpy as np
#
# a = np.arange(12).reshape(3,4)
# print(456)
